BoldBlocks\Library B

Total Complexity 78
Dependencies 3
Dependents 2
Total lines 982
Lines of code 578
Logical lines of code 208
Comment lines 259
Methods 35
Properties 1

Methods 35

Method Rating Maintainability Complexity Lines of code
enqueue_variation_library_scripts()
S
47 5 36
enqueue_block_library_scripts()
S
47 5 35
get_all_blocks_from_library()
S
49 5 31
get_all_variations_from_library()
S
49 5 31
get_full_block_library_data()
S
50 4 30
get_full_variation_library_data()
S
50 4 30
get_all_patterns_from_library()
S
50 4 29
get_block_keywords_from_library()
S
50 4 28
get_variation_keywords_from_library()
S
50 4 28
get_full_pattern_library_data()
S
51 3 28
get_pattern_keywords_from_library()
S
51 3 26
enqueue_pattern_library_scripts()
S
53 3 23
register_block_library_get_blocks_endpoint()
S
57 1 20
register_variation_library_get_variations_endpoint()
S
57 1 20
register_pattern_library_get_patterns_endpoint()
S
57 1 20
admin_menu_add_block_library_page()
S
59 1 19
admin_menu_add_variation_library_page()
S
59 1 19
run()
S
58 1 16
get_library_url()
S
72 2 6
in_admin_header_block_library()
S
65 2 10
in_admin_header_variation_library()
S
65 2 10
get_blocks_from_library()
S
69 2 7
get_variations_from_library()
S
69 2 7
get_patterns_from_library()
S
69 2 7
register_get_block_keywords_from_library_endpoint()
S
64 1 11
register_get_variation_keywords_from_library_endpoint()
S
64 1 11
register_get_pattern_keywords_from_library_endpoint()
S
64 1 11
update_library_cache()
S
79 1 3
clear_library_cache()
S
68 1 8
get_library_block_cache_key()
S
82 1 3
get_library_block_keywords_cache_key()
S
82 1 3
get_library_variation_cache_key()
S
82 1 3
get_library_variation_keywords_cache_key()
S
82 1 3
get_library_pattern_cache_key()
S
82 1 3
get_library_pattern_keywords_cache_key()
S
82 1 3